<template>
  <!-- <div @click="$emit('update:modelValue', modelValue + 1)">
    <span> count: {{ modelValue }}</span>
  </div> -->
  <div @click="$emit('update:count', count + 1)">
    <span> count: {{ count }}</span>
  </div>
</template>

<script>
export default {
  props: {
    // modelValue: {
    //   type: Number,
    //   default: 0,
    // },
    count: {
      type: Number,
      default: 0,
    },
  },
  setup() {
    return {};
  },
};
</script>

<style lang="scss" scoped></style>
